Skip to content

WIP: Pool streams on the Http2Connection #6130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

davidfowl
Copy link
Member

  • Pool Http2Stream objects based on the MaxConnectionsPerStream configuration.

This builds on top of #6119

cc @sebastienros @benaadams

- Remove per request allocations on the thread pool by implementing IThreadPoolWorkItem on Http2Stream
- Made generic version of Http2Stream to store the IHttpApplication instead of using a tuple
- Pool Http2Stream objects based on the MaxConnectionsPerStream configuration.
@davidfowl davidfowl force-pushed the davidfowl/http2-no-alloc branch from adc4e41 to abf8dea Compare December 30, 2018 11:34
@davidfowl
Copy link
Member Author

Will revisit when #6119 is in

@davidfowl davidfowl closed this Dec 30, 2018
@davidfowl davidfowl deleted the davidfowl/pooled-http2-streams branch July 16, 2019 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant